-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restructured Consent Records #7946
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Passing run #2716 ↗︎
Details:
Review all test suite changes for PR #7946 ↗︎ |
Cypress failing due to unavailable endpoints. Should work after backend PR is merged |
@skks1212 @gigincg Bug
Additional Enhancement for Better User Experience
|
LGTM |
Cypress tests failing likely due to new endpoint not present during testing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mentioning a few improvements that can be taken up as a separate issue
}); | ||
|
||
const fileManager = useFileManager({ | ||
type: "CONSENT_RECORD", | ||
onArchive: async () => { | ||
refetch(); | ||
refetchFiles(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explore the possibility of Joining Applicable Files with the Consent Records on the backend
archiveFile={fileManager.archiveFile} | ||
editFile={fileManager.editFile} | ||
showArchive={showArchived} | ||
files={files?.results.filter( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explore the possibility to Associate Files to consentRecord State, rather than using a separate state for consent and files
Consent Records Missing | ||
</span> | ||
{!consentFilesLoading && | ||
!consentRecordsLoading && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be rendered when consentRecords Load, and the Card can be further enriched with files ones that's available in the state
@nihal467 is some testing left on this PR? It is ready to merge |
LGTM |
@skks1212 Your efforts have helped advance digital healthcare and TeleICU systems. 🚀 Thank you for taking the time out to make CARE better. We hope you continue to innovate and contribute; your impact is immense! 🙌 |
Dependant on ohcnetwork/care#2209 and ohcnetwork/care#2251
Proposed Changes
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist